package com.zwh.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zwh.entity.Album;
import com.zwh.entity.Chapter;

public interface AlbumDAO {
	List<Album> selectAlbum(@Param("start") int start, @Param("rows") int rows);//查询所有
	List<Album> selectAlbumAll();//查询所有
	void updatePassword(@Param("id") Integer id, @Param("password") String password);
	void addAlbum(Album album);
	void addChapter(Chapter chapter);
	void deleteAlbum(@Param("id") Integer id);
	void deleteAlbums(Integer[] ids);
	int count();
}
